QueryInterfaceOrNull<T>() Method
Query Interface for a particular interface support.
'Declaration
Public Overloads Overridable Function QueryInterfaceOrNull(Of As ComObject)() As
public virtual QueryInterfaceOrNull<>()
where T: ComObject
Type Parameters
- T
Return Value
An instance of the queried interface or null if it is not supported